﻿<Window x:Class="Adan.Client.Common.Dialogs.OkDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:Properties="clr-namespace:Adan.Client.Common.Properties"
        mc:Ignorable="d"
        Style="{StaticResource DefaultWindowStyle}"
        ResizeMode="NoResize"
        ShowInTaskbar="False"
        WindowStartupLocation="CenterOwner"
        WindowStyle="ToolWindow"
        SizeToContent="WidthAndHeight"
        Name="window">
    <StackPanel>
        <TextBlock Name="txtTextToDisplay"
                   Foreground="{DynamicResource TextBrush}"
                   FontSize="14"
                   TextTrimming="CharacterEllipsis"
                   TextWrapping="Wrap"
                   Margin="5,0,5,0"
                   HorizontalAlignment="Center" />
        <Button MinWidth="50"
                Content="{x:Static Properties:Resources.Ok}"
                IsDefault="True"
                HorizontalAlignment="Center"
                Margin="5,10,5,0" />
    </StackPanel>
</Window>
